package com.liyingtao.dao;

import com.liyingtao.bean.Board;

import java.util.List;

public interface TopicMapper {
    /**
     * 添加板块
     * @param board
     * @return
     */
    int addBoardMethod(Board board);

    /**
     * 获取所有板块
     * @return
     */
    List<Board> getAllBoard();
}
